import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
App.mpType = 'app'



const app = new Vue(App)
app.$mount()

export default {
  // 这个字段走 app.json
  config: {
    // 页面前带有 ^ 符号的，会被编译成首页，其他页面可以选填，我们会自动把 webpack entry 里面的入口页面加进去
    pages: ['^pages/home/main'],
    window: {
      backgroundTextStyle: 'light',
      navigationBarBackgroundColor: '#fff',
      navigationBarTitleText: 'WeChat',
      navigationBarTextStyle: 'black'
    },
    "tabBar":{
      "color": "#ccc",
      "selectedColor": "#000",
      "backgroundColor": "#fff",
      "borderStyle": "#a8a8a8",
      "list": [
        {
          "pagePath": "pages/home/main",
          "iconPath": "static/images/home.png",
          "selectedIconPath": "static/images/home_a.png",
          "text": "首页"
        },
        {
          "pagePath": "pages/dataAnalysis/main",
          "iconPath": "static/images/data.png",
          "selectedIconPath": "static/images/data_a.png",
          "text": "数据分析"
        },
        {
          "pagePath": "pages/user/main",
          "iconPath": "static/images/my.png",
          "selectedIconPath": "static/images/my_a.png",
          "text": "我的"
        }
      ]
    }
  }
}
